const crypto = require('./crypto');
const database = require('./database');
const { dateFormat } = require('./format');
const { generateToken, verifyToken } = require('./token');

function isEmpty(str) {
  if (typeof str == 'undefined' || str == null || str == '') {
    return true;
  }
  return false;
}

module.exports = {
  crypto,
  database,
  dateFormat,
  isEmpty,
  generateToken,
  verifyToken
};
